package com.yjx.service;

import com.yjx.vo.ParentResourceVo;

import java.util.List;

public interface CacheService {
    //权限信息保存到Redis中
    void saveResource(String key,List<ParentResourceVo> parentResourceVoList);

    //从Redis中获取权限信息
    List<ParentResourceVo> getResourceVoList(String key);
}
